package com.example.tourpal.model;

import java.io.Serializable;
import java.util.List;

public class JourneyData implements Serializable {

	private static final long serialVersionUID = 1L;
	private String destination;
	private String endTime;
	private String startTime;
	private String name;
	private Integer id;
	private List<PlanData> plans;
	private User user;
	private Integer delFlg = 1;
	
	public Integer getDelFlg() {
		return delFlg;
	}

	public void setDelFlg(Integer delFlg) {
		this.delFlg = delFlg;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getDestination() {
		return destination;
	}

	public void setDestination(String destination) {
		this.destination = destination;
	}

	public String getEndTime() {
		return endTime;
	}

	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}

	public String getStartTime() {
		return startTime;
	}

	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public List<PlanData> getPlans() {
		return plans;
	}

	public void setPlans(List<PlanData> plans) {
		this.plans = plans;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	@Override
	public String toString() {
		return "JourneyData [destination=" + destination + ", endTime="
				+ endTime + ", startTime=" + startTime + ", name=" + name
				+ ", id=" + id + ", plans=" + plans + ", user=" + user
				+ ", delFlg=" + delFlg + "]";
	}
}
